#include "mainwindow.h"
#include "ui_mainwindow.h"
#include <QTextStream>

MainWindow::MainWindow(QWidget *parent)
    : QMainWindow(parent)
    , ui(new Ui::MainWindow)
{
    ui->setupUi(this);

    customBtn = new BigBtn(QSize(280, 150), 20, this);
    customBtn->setText("Test");
    customBtn->move(QPoint(this->width()/2, this->height()/2) -
                    QPoint(customBtn->width()/2, customBtn->height()/2));
    customBtn->show();
}

MainWindow::~MainWindow()
{
    delete ui;
}

